import { connect } from 'react-redux';
import inject from "../../../../../redux/inject";

// 业务redux
import InvoiceOperatingView, { showModal, buyerBillSearch } from '../InvoiceOperatingViewWrap/redux';
import { buyerBillOperate } from './redux';

// 注册redux的组件
import C from "./component";

// 注入动态数据源
@inject({ InvoiceOperatingView })

// 数据源、方法等绑定组件
@connect(
  state => ({ 
    visible: state.InvoiceOperatingView.visible,
    linkdata: state.InvoiceOperatingView.linkdata,
    searchdata: state.InvoiceOperatingView.searchdata || {}
  }), 
   { showModal, buyerBillSearch, buyerBillOperate }
)
export default class BuyerBillOperate extends C {}
